﻿using System.Web.Mvc;
using DnnMvcBridge.Web.Mvc.Base;
using DnnMvcBridge.Web.Mvc.Filters;
using DotNetNuke.Modules.SampleMvcModule.Models;

namespace DotNetNuke.Modules.SampleMvcModule.Controllers
{
	public class EditController : ModuleControllerBase
    {
        //
        // GET: /Edit/
		[DnnModuleControlAction]
        public ActionResult Index()
        {
			var viewModel = new SampleViewModel() { Foo = "Hello DNN!" };

			return View(viewModel);
        }

    }
}
